import { App, Plugin } from 'vue';
import selectRuleModal from '@/components/select-modal/rule/index.vue'
import selectIconModal from '@/components/select-modal/icon/index.vue'
import backBtn from '@/components/ui-unit/back-btn/index.vue'
import uploadBtn from '@/components/ui-unit/upload-btn/index.vue'
import help from '@/components/ui-unit/help/index.vue'

export const ComponentsPlugin: Plugin = {
    install(app: App) {
        app.component('select-rule-modal', selectRuleModal);
        app.component('select-icon-modal', selectIconModal);
        app.component('back-btn', backBtn);
        app.component('upload-btn', uploadBtn);
        app.component('help', help);
    },
};
export { selectRuleModal, selectIconModal, backBtn, uploadBtn,help };